package usage;

import java.util.List;
import math.Facteur;
import math.Interval;
import math.EnsN;
import math.Format;
import math.Paire;
import math.RWFile;

public class Launch {

    private Launch() {

        Interval I = EnsN.interval("I", 2, 10);
        System.out.println(I);
        Facteur f = EnsN.facteur(120);
        System.out.println(f);
        List<Paire> form = Format.formater(f);
//        System.out.println(form);
//        System.out.println(EnsN.fphi(form));
//        System.out.println(EnsN.ensN2(10));
        int n = 64;
        String toexport = Format.toExport(EnsN.phi(n), n);
        System.out.println(toexport);
        RWFile.writeTextToFile(toexport, "/home/me/Documents/ToWindows/phi/phi" + n + ".txt");
    }

    public static void main(String[] args) {
        new Launch();
    }
}
